<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <div class="wms-wbm-fun-right">
                <button class="layui-btn" ng-click="moreClick()">更多条件</button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh" ng-click="refreshA()" refresh></i>
            </div>
        </div>
        <!--&lt;!&ndash;更多条件&ndash;&gt;-->
        <!--<div class="otherForm wms-layer" style="display:none;height:76px;width:100%">-->
            <!--<table class="layui-table wms-bd-none-main">-->
                <!--<tr>-->
                    <!--<td>车架码(VIN码)</td>-->
                    <!--<td><input type="text" class="layui-input" ng-model="search.vin" /></td>-->
                    <!--<td>是否还车</td>-->
                    <!--<td>-->
                        <!--<select  ng-model="search.isReturn" style="width:100%">-->
                            <!--<option value="">请选择</option>-->
                            <!--<option value="1">是</option>-->
                            <!--<option value="0">否</option>-->
                        <!--</select>-->
                    <!--</td>-->
                    <!--<td>借用人</td>-->
                    <!--<td><input type="text" class="layui-input" ng-model="search.borrowName" /></td>-->
                    <!--<td>还车人</td>-->
                    <!--<td><input type="text" class="layui-input" ng-model="search.returnName" /></td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<td>还车日期</td>-->
                    <!--<td>-->
                        <!--<input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.returnStartTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">-->
                    <!--</td>-->
                    <!--<td style="width: 80px">至</td>-->
                    <!--<td>-->
                        <!--<input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.returnEndTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">-->
                    <!--</td>-->
                    <!--<td></td>-->
                    <!--<td></td>-->
                    <!--<td></td>-->
                    <!--<td >-->
                        <!--<div class="otherFormItem otherFormItemButton" style="text-align: right">-->
                            <!--<button class="layui-btn" ng-click="getList()">查询</button>-->
                            <!--<button class="layui-btn" ng-click="resetClick()">重置</button>-->
                        <!--</div>-->
                    <!--</td>-->
                <!--</tr>-->
            <!--</table>-->
        <!--</div>-->

        <div class="otherForm"style="display:none;height:120px;width:100%;margin-bottom: 18px;" >
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>车架码VIN</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.vin" />
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>还车状态</div>
                        <div>
                            <select  ng-model="search.isReturn" style="width:100%;height:32px">
                                <option value="">请选择</option>
                                <option value="1">已还</option>
                                <option value="0">未还</option>
                            </select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>借用人</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.borrowName" />
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>还车人</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.returnName" />
                        </div>
                    </div>
                </li>
                <li>
                    <div class="otherFormItem">
                        <div>实际还车日期</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.returnStartTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.returnEndTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton" style="text-align: right">
                        <button class="layui-btn" ng-click="getList()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>

        <!--主表-->
        <div class="layui-form">
            <table class="layui-table wms_bcr_table">
                <tbody>
                <tr>
                    <th>序号</th>
                    <th>车架号(VIN码)</th>
                    <th>还车状态</th>
                    <th>借用人</th>
                    <th>借用日期</th>
                    <th>预计还车日期</th>
                    <th>还车人</th>
                    <th>实际还车日期</th>
                </tr>
                <tr ng-repeat="(key,item) in mainList" repeat-finish rcid="{{item.rcId}}">
                    <td>{{key+1}}</td>
                    <td tr-select ng-bind="item.vin"></td>
                    <td tr-select>{{item.returnStatus==20?'已还':'未还'}}</td>
                    <td tr-select ng-bind="item.borrowName"></td>
                    <td tr-select ng-bind="item.borrowDate| timeformat | date:'yyyy-MM-dd'"></td>
                    <td tr-select ng-bind="item.estimatedReturnDate| timeformat | date:'yyyy-MM-dd'"></td>
                    <td tr-select ng-bind="item.returnName"></td>
                    <td tr-select ng-bind="item.returnDate?(item.returnDate | timeformat | date:'yyyy-MM-dd'):''"></td>
                </tr>
                </tbody>
            </table>

            <div class="admin-table-page" style="text-align: center;height: 50px">
                <div id="pages" class="page"></div>
            </div>
        </div>
    </div>
</div>